#ifndef ONLINETHREAD_H
#define ONLINETHREAD_H
#include "my_sdk.h"
#include <QThread>

class OnlineThread : public QThread
{
    Q_OBJECT
    public:
        OnlineThread();
        ~OnlineThread();
        void setIp(QString &ip);
    protected:
        void run();
    private:
        My_SDK  *sdk;
        QString ip;
        bool cse;
    signals:
       void sendOnline(bool);
};

#endif // ONLINETHREAD_H
